const express = require('express');

const app = express();

app.get('/abc/:id.html', (req,res)=>{
      res.setHeader('content-type', 'text/html;charset=utf-8')
      console.log('method=>',req.method);
      console.log('url=>',req.url);
      console.log('httpVersion=>',req.httpVersion);
      console.log('headers=>',req.headers);
      console.log('path=>',req.path);
      console.log('query=>',req.query);
      console.log('ip=>',req.ip);

      res.end('路由参数')
})

app.listen(3000,()=>{
      console.log('启动')
})
